package com.siwei.mes.mapper;

import com.siwei.mes.common.base.BaseMapper;
import com.siwei.mes.entity.AssociationStorage;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 协会信息存储(AssociationStorage)表数据库访问层
 *
 * @author linzi
 * @since 2024-07-31 09:00:11
 */
public interface AssociationStorageMapper extends BaseMapper<AssociationStorage> {
    /**
     * 获取所有
     *
     * @param entity
     * @return
     */
    List<AssociationStorage> getList(AssociationStorage entity);

    /**
     * 根据id获取
     *
     * @param id
     * @return
     */
    AssociationStorage loadById(@Param("id") Long id);
}
